<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"
         isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>宝可梦协会管理系统</title>
    <link rel="stylesheet" type="text/css" href="css/style.css"/>
</head>
<body>
<div class="container">
    <div class="sidebar">
        <img src="imgs/login.png"  class="rounded-image">
        <h2>菜单栏</h2>
        <ul>
            <li><a href="indexServlet">首页</a></li>
            <li><a href="pokemonallServlet">管理宝可梦</a></li>
            <li><a href="trainerallServlet">管理训练师</a></li>
            <img src="imgs/qiu.png">
        </ul>
    </div>
    <div class="main-content">
        <div class="header">
            <h1>宝可梦协会管理系统</h1>
        </div>
        <form action="/untitled_war/searchServlet" method="post">
        <div class="search-box">
            <label>
                <input type="text" placeholder="请输入搜索内容" name="keyword">
            </label>
            <button type="submit" value="搜索" id="editButton">搜索</button>
        </div>
        </form>
        <div class="dashboard-section1">
            <div class="card1">
                <h3>已发现宝可梦数量</h3>
                <p>${pokemoncounts}</p>
            </div>
            <div class="card1">
                <h3>训练师数量</h3>
                <p>${trainercounts}</p>
            </div>
        </div>
        <div class="dashboard-section2">
            <div class="card2">
                <h3>用户增长数据</h3>
                <p>新增用户 0 | 总用户数 13</p>
            </div>
        </div>
    </div>
</div>
</body>
</html>